def wrapper(function):
    def inner(*args, **kwargs):
        print("我是内部函数")
        res = function(*args, **kwargs)
        return res
    return inner


@wrapper
def func(*args, **kwargs):
    print("func1")
    print(args)
    print(kwargs)
    return "func1,返回值"


res = func(1, a=1)
print(res)
